package com.ysd.lis.service.lab;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.lab.LabCriticalReport;
import com.ysd.lis.request.lab.*;

import java.util.List;

/**
 * <p>
 * 危急值上报 服务类
 * </p>
 *
 * @author wanghao
 * @since 2024-02-20
 */
public interface LabCriticalReportService extends IService<LabCriticalReport> {

    Result batchAddCriticalReportList(List<LabCriticalReport> labCriticalReports);

    Result hisUpdateCritical(LabCriticalReport labCriticalReports);

    Result deleteCriticalReportInfo(LabCriticalReport labCriticalReport);

    Result findCriticalReportInfo(CriticalReportDto criticalReportDto);
    Result findBacCriticalReportInfo(CriticalReportDto criticalReportDto);

    List<AlarmReportVo> findAlarmReportInfo(AlarmReportDto alarmReportDto);

    String handleAlarm(AlarmChkDto dto);

    List<AlarmRptresultVo> getResultInfo(String id);

    List<AlarmReportVo> findAlarmInfo(AlarmReportDto alarmReportDto);

    /*查询病区危急值处理意见及时间*/
    Result getTreatedCriticalReport(getTreatedCriticalReportParam input);
}
